package com.anolesoft.yr.store.stk.entity;

import com.anolesoft.system.fac.entity.JobType;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 仓库信息表
    */
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "stk_main")
public class StkMain implements Serializable {

    /**
     * 主键
     */
    @TableId(value = "objuid", type = IdType.AUTO)
    private String objuid;

    /**
     * 仓库名称
     */
    @TableField(value = "stk_name")
    private String stkName;

    /**
     * 仓库地理位置
     */
    @TableField(value = "location")
    private String location;

    /**
     * 仓库类型
     */
    @TableField(value = "stk_type_uid")
    private String stkTypeUid;

    /**
     * 创建人
     */
    @TableField(value = "c_user_uid")
    private String cUserUid;

    /**
     * 创建时间
     */
    @TableField(value = "c_time")
    private Date cTime;

    /**
     * 修改人
     */
    @TableField(value = "m_user_uid")
    private String mUserUid;

    /**
     * 修改时间
     */
    @TableField(value = "m_time")
    private Date mTime;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 删除标志
     */
    @TableField(value = "del_flag")
    private Byte delFlag;

    /**
     * 所属公司
     */
    @TableField(value = "company")
    private String company;

    /**
     * 所属部门
     */
    @TableField(value = "dept")
    private String dept;

    @TableField(value = "state")
    private String state;

    @TableField(exist = false)
    private StkType stkType;
    @TableField(exist = false)
    private Integer page;
    @TableField(exist = false)
    private Integer rows;

    private static final long serialVersionUID = 1L;

    public String getObjuid() {
        return objuid;
    }

    public void setObjuid(String objuid) {
        this.objuid = objuid;
    }

    public String getStkName() {
        return stkName;
    }

    public void setStkName(String stkName) {
        this.stkName = stkName;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getStkTypeUid() {
        return stkTypeUid;
    }

    public void setStkTypeUid(String stkTypeUid) {
        this.stkTypeUid = stkTypeUid;
    }

    public String getcUserUid() {
        return cUserUid;
    }

    public void setcUserUid(String cUserUid) {
        this.cUserUid = cUserUid;
    }

    public Date getcTime() {
        return cTime;
    }

    public void setcTime(Date cTime) {
        this.cTime = cTime;
    }

    public String getmUserUid() {
        return mUserUid;
    }

    public void setmUserUid(String mUserUid) {
        this.mUserUid = mUserUid;
    }

    public Date getmTime() {
        return mTime;
    }

    public void setmTime(Date mTime) {
        this.mTime = mTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Byte getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Byte delFlag) {
        this.delFlag = delFlag;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }

    public StkType getStkType() {
        return stkType;
    }

    public void setStkType(StkType stkType) {
        this.stkType = stkType;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getRows() {
        return rows;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }
}